package com.epoint.mobileoa.personalized.epointcompany.test;

import java.util.List;

import android.view.View;
import android.widget.ListView;

import com.epoint.mobileoa.bizlogic.SuperView;
import com.epoint.mobileoa.bizlogic.Task;
import com.epoint.mobileoa.model.MailList;
import com.epoint.mobileoa.service.MainService;
import com.epoint.mobileoa.tools.XMLUtil;

/**
 * @author liyc
 * @time 2012-11-9 下午6:57:30
 * @annotation 
 */
public class MailInBoxTestView extends SuperView {

	ListView lv;
	
	@Override
	public void initControls(){
		Task task = new TestTask(this, null);
		MainService.addTask(task);
		top_pb.setVisibility(View.VISIBLE);
	}

	@Override
	public void refresh(Object... param) throws Exception {
		String bs = param[0].toString();
		List<MailList> list = XMLUtil.DomAnalysisCommon(bs, MailList.class);
	}
	
	@Override
	public String setTitle() {
		return "邮件";
	}

	@Override
	public int getLayoutInt() {
		return 0;
	}

	@Override
	public void refreshForNewTask(int TaskId,Object... param){
	}
}
